# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=acpi-utils
pkgver=0.1.0
pkgrel=0
pkgdesc="ACPI utilities for use in scripts and one-liners"
url="https://github.com/jirutka/acpi-utils"
arch="noarch"
license="MIT"
makedepends="asciidoctor"
subpackages="$pkgname-doc"
source="https://github.com/jirutka/acpi-utils/archive/v$pkgver/acpi-utils-$pkgver.tar.gz"
options="!check"  # no tests provided

build() {
	make build
}

package() {
	make install DESTDIR="$pkgdir" prefix=/usr
}

sha512sums="
7d6938e228ddd90491dc66cb1705804d639eaa1da5ef9b57cede716c948d94c38bdba3c350e9b64c1152a107f251c80279cd2d8503af7f7e259f4926273ffcfe  acpi-utils-0.1.0.tar.gz
"
